﻿using MyIocContainer;
using Sklep.Domain.Concrete;
using Sklep.WebUI.Controllers;

namespace Sklep.WebUI
{
    public static class MyBootstrapper
    {
        public static void Configure(IContainer container)
        {
            container.Register<AccountController, AccountController>(LifeCycle.Transient);
            container.Register<AdminController,AdminController>(LifeCycle.Transient);
            container.Register<CartController, CartController>(LifeCycle.Transient);
            container.Register<NavController, NavController>(LifeCycle.Transient);
            container.Register<ProductController, ProductController>(LifeCycle.Transient);
            container.Register<EmailSettings, EmailSettings>();
        }
    }
}